<extend name="/base" />
<block name="main">
<font>修改客户台帐</font>

<form method="post" action="ModifyAccountResult">
<input type="hidden" name="so_id" value={$account.so_id} />
<table id="ci">
<th>客户名称</th><th>国家</th><th>订单号</th><th>币别</th><th>与香港公司PI金额</th><th>与国内公司PI金额</th><th>预计出货时间</th><th>应收款</th><th>账期</th><th>应收款日期</th><th>业务员</th><th>备注</th>
<tr><td><input type="text" name="cust_name" value="{$account.cust_name}" id="os_no"  /></td>
<td><input type="text" name="country" value="{$account.country}" id="cst" /></td>
<td><input type="text" name="so_no" value="{$account.so_no}" id="os_no" /></td>
<td><select name="CUR_ID"><option value="USD" {$account['CUR_ID']=='USD'?'checked="checked"':''} >USD</option><option value="RMB" {$account['CUR_ID']=='RMB'?'checked="checked"':''} >RMB</option></select></td>
<td><input type="text" name="HONGKONG_PI" value="{$account.HONGKONG_PI}" id="os_no" /></td>
<td><input type="text" name="CHINA_PI" value="{$account.CHINA_PI}" id="os_no" /></td>
<td><input type="text" name="expect_sale" value="{$account.expect_sale}" id="date" onClick="laydate()" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9--]+/,'');}).call(this)" onblur="this.v();" /></td>
<td><input type="text" name="receivable" value="{$account.receivable}" id="cst" /></td>
<td><input type="text" name="account_period" value="{$account.account_period}" id="cst"/></td>
<td><input type="text" name="recevable_dd" value="{$account.recevable_dd}" id="date" onClick="laydate()" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9--]+/,'');}).call(this)" onblur="this.v();" /></td>
<td><input type="text" name="sal_name" value="{$account.sal_name}" id="cst"/></td>
<td><input type="text" name="rem" value="{$account.rem}" /></td> 
</tr>
</table>
<input type="submit" value="修改" />&nbsp;<a href={$url}>返回</a><br />

</form>
</block>